home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _E25923674E1F4590BD4CE03ED048314C < prev    next >
Extensible Markup Language  |  2008-06-28  |  5KB  |  149 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output
  9.   method="html"
  10.   version="4.0"
  11.   encoding="UTF-8"
  12.   omit-xml-declaration="yes"
  13.   indent="yes"/>
  14.  
  15. <xsl:template match="/Root">
  16.  
  17. <html>
  18.   <xsl:variable name="FSName" select="PropertyBag/Property[@name='PROPID_HDM_INTERNALFSNAME']"/>
  19.  
  20.   <TABLE>
  21.     <TR>
  22.       <TD align="left" colspan="2">
  23.         <xsl:choose>
  24.           <xsl:when test="$FSName='INVALID'">
  25.             <h2>QT_TRANSLATE_NOOP("QObject", "Invalid partition")</h2>
  26.           </xsl:when>
  27.           <xsl:when test="$FSName='NOTFORMATTED'">
  28.             <h2>QT_TRANSLATE_NOOP("QObject", "Not formatted partition")</h2>
  29.           </xsl:when>
  30.           <xsl:otherwise>
  31.             <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
  32.           </xsl:otherwise>
  33.         </xsl:choose>
  34.         <img src="hline_gray"/>
  35.       </TD>
  36.     </TR>
  37.  
  38.     <xsl:if test="$FSName != 'UNKNOWN' and $FSName != 'INVALID'">
  39.     <TR>
  40.       <TD align="right">
  41.         <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_FSNAME']"/></b></nobr>
  42.       </TD>
  43.       <TD align="left">
  44.           <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_FSNAME']"/></nobr>
  45.       </TD>
  46.     </TR>
  47.     </xsl:if>
  48.  
  49.     <xsl:choose>
  50.       <xsl:when test="$FSName='FAT16'">
  51.         <TR>
  52.           <TD align="right">
  53.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_BOOTSIZE']"/></b></nobr>
  54.           </TD>
  55.           <TD align="left">
  56.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_BOOTSIZE']"/></nobr>
  57.           </TD>
  58.         </TR>
  59.         <TR>
  60.           <TD align="right">
  61.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
  62.           </TD>
  63.           <TD align="left">
  64.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
  65.           </TD>
  66.         </TR>
  67.         <TR>
  68.           <TD align="right">
  69.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_ROOTSIZE']"/></b></nobr>
  70.           </TD>
  71.           <TD align="left">
  72.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_ROOTSIZE']"/></nobr>
  73.           </TD>
  74.         </TR>
  75.       </xsl:when>
  76.  
  77.       <xsl:when test="$FSName='FAT32'">
  78.         <TR>
  79.           <TD align="right">
  80.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
  81.           </TD>
  82.           <TD align="left">
  83.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
  84.           </TD>
  85.         </TR>
  86.         <TR>
  87.           <TD align="right">
  88.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_BOOTSIZE']"/></b></nobr>
  89.           </TD>
  90.           <TD align="left">
  91.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_BOOTSIZE']"/></nobr>
  92.           </TD>
  93.         </TR>
  94.       </xsl:when>
  95.  
  96.       <xsl:when test="$FSName='NTFS'">
  97.         <TR>
  98.           <TD align="right">
  99.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_NTFSVERSIONSTRING']"/></b></nobr>
  100.           </TD>
  101.           <TD align="left">
  102.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_NTFSVERSIONSTRING']"/></nobr>
  103.           </TD>
  104.         </TR>
  105.         <TR>
  106.           <TD align="right">
  107.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_HDDSECTORSIZE_STRING']"/></b></nobr>
  108.           </TD>
  109.           <TD align="left">
  110.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HDDSECTORSIZE_STRING']"/></nobr>
  111.           </TD>
  112.         </TR>
  113.         <TR>
  114.           <TD align="right">
  115.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
  116.           </TD>
  117.           <TD align="left">
  118.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
  119.           </TD>
  120.         </TR>
  121.       </xsl:when>
  122.  
  123.       <xsl:when test="$FSName='INVALID'">
  124.         <TR>
  125.           <TD align="right">
  126.             <nobr><b>QT_TRANSLATE_NOOP("QObject", "File system type")</b></nobr>
  127.           </TD>
  128.           <TD align="left">
  129.             <p>
  130.                 QT_TRANSLATE_NOOP("QObject", "Unknown")
  131.             </p>
  132.             <p>
  133.               QT_TRANSLATE_NOOP("QObject", "<ProductName> has discovered problems with this partition. It must have been caused by an incorrect geometry. In order to resolve the issue, please collect LOG-files and send them to our Support Team")
  134.             </p>
  135.           </TD>
  136.         </TR>
  137.       </xsl:when>
  138.  
  139.     </xsl:choose>
  140.  
  141.   </TABLE>
  142.  
  143. </html>
  144. </xsl:template>
  145.  
  146. </xsl:stylesheet>
  147.  
  148.  
  149.